import _import from "./_import";
import { RouterMeta } from "./app";
export const DataRetrievalRouters = [
    {
        path: "index",
        component: _import("data-retrieval/src/data-index.vue"),
        name: "DataRetrievalIndex",
        meta: {
            title: "资源检索",
            requiresAuth: true,
            isMenu: true
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    },
    {
        path: "list",
        component: _import("data-retrieval/src/data-list.vue"),
        name: "DataRetrievalList",
        meta: {
            title: "资源检索列表页",
            requiresAuth: true,
            isMenu: false
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    },
    {
        path: "details",
        component: _import("data-retrieval/src/details.vue"),
        name: "DataRetrievalDetails",
        meta: {
            title: "资源检索详情页",
            requiresAuth: true,
            isMenu: false
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    },
    {
        path: "edit",
        component: _import("data-retrieval/src/edit-data.vue"),
        name: "DataRetrievalEditData",
        meta: {
            title: "编辑",
            requiresAuth: true,
            isMenu: false
        } as RouterMeta
    },
    {
        path: "link-data",
        component: _import("data-retrieval/src/link-data.vue"),
        name: "DataRetrievalLinkData",
        meta: {
            title: "关联数据",
            requiresAuth: true,
            isMenu: false
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    },
    {
        path: "/data-retrieval/search-task",
        component: _import("data-retrieval/src/search-task.vue"),
        name: "SearchTask",
        meta: {
            title: "任务检索",
            requiresAuth: true
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    },
    {
        path: "/data-retrieval/task-list",
        component: _import("data-retrieval/src/task-list.vue"),
        name: "TaskList",
        meta: {
            title: "表单列表",
            requiresAuth: true
            // roles: ["DataRetrievalPersonnel"]
        } as RouterMeta
    }
];

export const RouterConfig = {};
